Open Lighting Architecture 0.10.9
Loading...
Searching...
No Matches
ola::plugin::spi Namespace Reference

Detailed Description

Code for SPI devices.

Classes

class  auto_ptr
 STL class. More...
 
class  FakeSPIBackend
 
class  FakeSPIWriter
 
class  HardwareBackend
 
class  LoadSensor
 
class  MutexLocker
 
class  ostringstream
 STL class. More...
 
class  Personality
 
class  PersonalityCollection
 
class  PersonalityManager
 
class  RDMCommand
 The base class that all RDM requests & responses inherit from. More...
 
class  RDMRequest
 RDM Commands that represent requests (GET, SET or DISCOVER). More...
 
class  RDMResponse
 An RDM Command that represents responses (GET, SET or DISCOVER). More...
 
class  ResponderHelper
 
class  set
 STL class. More...
 
class  SoftwareBackend
 
class  SPIBackendInterface
 
class  SPIDevice
 
class  SPIOutput
 
class  SPIOutputPort
 
class  SPIPlugin
 
class  SPIWriter
 
class  SPIWriterInterface
 
class  string
 STL class. More...
 
class  UID
 Represents a RDM UID. More...
 
class  UIDSet
 Represents a set of RDM UIDs. More...
 
class  vector
 STL class. More...
 

Typedefs

typedef ola::BaseCallback1< void, RDMReply * > RDMCallback
 The callback run when a RDM request completes.
 
typedef ola::BaseCallback1< void, RDMReply * > RDMCallback
 The callback run when a RDM request completes.
 
typedef ola::BaseCallback1< void, const ola::rdm::UIDSet & > RDMDiscoveryCallback
 The callback run when a discovery operation completes.
 

Functions

string FilenameFromPathOrPath (const std::string &path)
 Convert a path to a filename (this variant is good for switching based on executable names)
 
uint16_t HostToNetwork (uint16_t value)
 16-bit unsigned host to network conversion.
 
uint16_t NetworkToHost (uint16_t value)
 16-bit unsigned network to host conversion.
 

Typedef Documentation

◆ RDMCallback [1/2]

The callback run when a RDM request completes.

Template Parameters
replyThe RDMReply object. The reply object is valid for the duration of the call.

The RDMReply is not const, since some stages of the pipeline may need to rewrite the UID / Transaction Number.

For performance reasons this can be either a single use callback or a permanent callback.

◆ RDMCallback [2/2]

The callback run when a RDM request completes.

Template Parameters
replyThe RDMReply object. The reply object is valid for the duration of the call.

The RDMReply is not const, since some stages of the pipeline may need to rewrite the UID / Transaction Number.

For performance reasons this can be either a single use callback or a permanent callback.

◆ RDMDiscoveryCallback

The callback run when a discovery operation completes.

Template Parameters
UIDSetThe UIDs that were discovered.

Function Documentation

◆ FilenameFromPathOrPath()

std::string ola::file::FilenameFromPathOrPath ( const string & path)

Convert a path to a filename (this variant is good for switching based on executable names)

Parameters
patha full path to a file
Returns
the filename (basename) part of the path or the whole path if it can't be found