libbio
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
bio::genetic::TranslocatorImplementation Class Reference

#include <Translocator.h>

Inheritance diagram for bio::genetic::TranslocatorImplementation:
Inheritance graph
[legend]
Collaboration diagram for bio::genetic::TranslocatorImplementation:
Collaboration graph
[legend]

Public Member Functions

 TranslocatorImplementation ()
 
virtual ~TranslocatorImplementation ()
 
bool AssociateSignalPeptidase (Location location, Epitope epitope, Pointer< chemical::ExcitationBase > peptidase)
 
bool DisassociateSignalPeptidase (Location location, Epitope epitope)
 
Pointer< chemical::ExcitationBaseGetPeptidase (Location location, Epitope epitope)
 
Pointer< chemical::ExcitationBaseGetPeptidase (Location location, const Name &epitope)
 
- Public Member Functions inherited from bio::physical::Perspective< Location >
 Perspective ()
 
virtual ~Perspective ()
 
SmartIterator Find (const Location &id)
 
SmartIterator Find (const Location &id) const
 
virtual Location GetIdFromName (const Name &name)
 
virtual Name GetNameFromId (const Location &id) const
 
virtual Location GetUniqueIdFor (const Name &name)
 
virtual Location GetIdWithoutCreation (const Name &name) const
 
virtual Location GetNumUsedIds () const
 
- Public Member Functions inherited from bio::ThreadSafe
 ThreadSafe ()
 
 ThreadSafe (const ThreadSafe &toCopy)
 
ThreadSafeoperator= (const ThreadSafe &toCopy)
 
 ~ThreadSafe ()
 
void LockThread () const
 
void UnlockThread () const
 
void LockMutexShared () const
 
void UnlockMutexShared () const
 

Protected Member Functions

virtual Pointer< physical::Brane< Location > > CreateBrane (Location id, const Name &name)
 
- Protected Member Functions inherited from bio::physical::Perspective< Location >
void RegisterBrane (Pointer< Brane< Location > > brane)
 
T GetBraneAs (Location id)
 
const T GetBraneAs (Location id) const
 

Additional Inherited Members

- Static Public Member Functions inherited from bio::physical::Perspective< Location >
static Location InvalidId ()
 
static Name InvalidName ()
 
- Static Protected Member Functions inherited from bio::physical::Perspective< Location >
::std::string IndexKeyFor (const Name &name)
 
- Protected Attributes inherited from bio::physical::Perspective< Location >
Pointer< ContainermBranes
 
Location mNextId
 
mutable ::std::map< Location, IndexmByIdIndex
 

Detailed Description

The Translocator is responsible for moving Genes to their appropriate Location within a genetic::Expressor (e.g. a Cell).

Constructor & Destructor Documentation

◆ TranslocatorImplementation()

bio::genetic::TranslocatorImplementation::TranslocatorImplementation ( )

◆ ~TranslocatorImplementation()

bio::genetic::TranslocatorImplementation::~TranslocatorImplementation ( )
virtual

Member Function Documentation

◆ AssociateSignalPeptidase()

bool bio::genetic::TranslocatorImplementation::AssociateSignalPeptidase ( Location  location,
Epitope  epitope,
Pointer< chemical::ExcitationBase peptidase 
)

Store an Excitation as a Peptidase with the given epitope at the given location.
If an Excitation was previously Associated, it must be Disassociated before it can be changed

Parameters
location
epitope
peptidase
Returns
true if the association completed successfully else false

◆ CreateBrane()

Pointer< physical::Brane< Location > > bio::genetic::TranslocatorImplementation::CreateBrane ( Location  id,
const Name name 
)
protectedvirtual

Create a SignalPeptide instead of any other kind of Brane.

Parameters
id
name
Returns
a new SignalPeptide.

Reimplemented from bio::physical::Perspective< Location >.

◆ DisassociateSignalPeptidase()

bool bio::genetic::TranslocatorImplementation::DisassociateSignalPeptidase ( Location  location,
Epitope  epitope 
)

Removes the Associated Excitation for the given epitope at the given location.

Parameters
location
epitope
Returns
true if the association was removed else false.

◆ GetPeptidase() [1/2]

Pointer< chemical::ExcitationBase > bio::genetic::TranslocatorImplementation::GetPeptidase ( Location  location,
const Name epitope 
)

Get a previously Associated Excitation for the given epitope at the given location.
Make sure to Delete the returned Excitation!

Parameters
location
epitope
Returns
a new chemical::Excitation* or NULL

◆ GetPeptidase() [2/2]

Pointer< chemical::ExcitationBase > bio::genetic::TranslocatorImplementation::GetPeptidase ( Location  location,
Epitope  epitope 
)

Get a previously Associated Excitation for the given epitope at the given location.
Make sure to Delete the returned Excitation!

Parameters
location
epitope
Returns
a new chemical::Excitation* or NULL

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