Open Lighting Architecture  0.10.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Protected Member Functions | List of all members
ola::Device Class Referenceabstract
Inheritance diagram for ola::Device:
Inheritance graph
[legend]
Collaboration diagram for ola::Device:
Collaboration graph
[legend]

Public Member Functions

 Device (AbstractPlugin *owner, const std::string &name)
 
const std::string Name () const
 
void SetName (const std::string &name)
 
AbstractPluginOwner () const
 
std::string UniqueId () const
 
virtual std::string DeviceId () const =0
 The device ID. More...
 
bool IsEnabled () const
 
bool Start ()
 
bool Stop ()
 
bool AllowLooping () const
 
bool AllowMultiPortPatching () const
 
bool AddPort (InputPort *port)
 
bool AddPort (OutputPort *port)
 
void InputPorts (std::vector< InputPort * > *ports) const
 
void OutputPorts (std::vector< OutputPort * > *ports) const
 
InputPortGetInputPort (unsigned int port_id) const
 
OutputPortGetOutputPort (unsigned int port_id) const
 
void DeleteAllPorts ()
 
virtual void Configure (ola::rpc::RpcController *controller, const std::string &request, std::string *response, ConfigureCallback *done)
 

Protected Member Functions

virtual bool StartHook ()
 Called during Start(). More...
 
virtual void PrePortStop ()
 
virtual void PostPortStop ()
 

Additional Inherited Members

- Public Types inherited from ola::AbstractDevice
typedef BaseCallback0< void > ConfigureCallback
 

Member Function Documentation

virtual std::string ola::Device::DeviceId ( ) const
pure virtual
virtual bool ola::Device::StartHook ( )
inlineprotectedvirtual

The documentation for this class was generated from the following files: